<?php
/**
 * Enter description here ...
 * @author NgoAnhTu
 * @date 2013-11-01
 * @table(attachment)
 */
final class Attachment extends Entity {
	
	/**
	 * Name of Attachment
	 * @unique(true)
	 * @column(Name)
	 * @type(string)
	 */
	public $name;
	
	/**
	 * Type of Attachment
	 * @column(Type)
	 * @type(string)
	 */
	public $type;
	
	public $details = array();
		
	/**
	 * Constructor
	 * @param integer $id
	 * @param string $name
	 * @param string $type
	 */
	public function Attachment($id = 0, $name = '', $type = '') {
		$this->id = $id;
		$this->name = $name;
		$this->type = $type;
	}
	
}
?>